/**
 *  @file SDLMusicDeleter.h
 *
 *  @date 3-dec-2009
 *  @author Ives van der Flaas
 */

#ifndef SDLSOUNDDELETER_H_
#define SDLSOUNDDELETER_H_

#include <SDL_mixer.h>

namespace si_sdl
{
/**
 * Functor deleter class for Music objects.
 */
class SDLMusicDeleter
{
public:
	void operator()(Mix_Music* music)
	{
		Mix_FreeMusic(music);
	}
};

}

#endif /* SDLSOUNDDELETER_H_ */
